package cn.gdut.chengcai.thread;

import cn.gdut.chengcai.base.FfmpegUtil;

public class Transcoding implements Runnable {

	private String srcFilePath;

	public String getSrcFilePath() {
		return srcFilePath;
	}

	public void setSrcFilePath(String srcFilePath) {
		this.srcFilePath = srcFilePath;
	}

	@Override
	public void run() {

		try {
			FfmpegUtil.executeCodecs(this.getSrcFilePath());
		} catch (Exception e) {
			e.printStackTrace();
		}

	}

}
